
// ebookDlg.h : header file
//

#pragma once


// CebookDlg dialog
class CebookDlg : public CDialogEx
{
// Construction
public:
	CebookDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_EBOOK_DIALOG };
	CString m_FilePath;
	int m_page;
	int m_pages;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	afx_msg LRESULT OnPages(WPARAM, LPARAM);
	virtual void OnOK();
	virtual void OnCancel();
	CString Utf8ToWideChar(unsigned char * txt);
};
